﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Core.Event
{
    /// <summary>
    /// An event sent to tell the system to generate a solution
    /// </summary>
    public class GenerateSolution : BEvent
    {
        /// <summary>
        /// The name of this event
        /// </summary>
        public static string EventName { get { return "GenerateSolution"; } }

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="start"></param>
        public GenerateSolution(Node start) : base(EventName)
        {
            _pv_startNode = start;
        }

        public Node StartNode { get { return _pv_startNode; } }
        private Node _pv_startNode;
    }
}
